package edu.friday.service;

import edu.friday.model.SysMenuEntity;

import java.util.List;
import java.util.Set;

/**
 * 菜单业务层
 */
public interface SysMenuService {

    List<SysMenuEntity> selectMenuAll();

    List<Long> selectMenuListByRoleId(Long roleId);

    /**
     * 更加用户ID查询权限
     *
     * @param userId 用户ID
     * @return 权限对象
     */
    Set<String> selectMenuPermsByUserId(Long userId);
}
